import req from '@/utils/request';

//用户管理
//用户列表
export const userList = (params) => req.post('/user/list', params);

//用户列表封禁/解封
export const userBan = (params) => req.post('/user/ban', params);

//封禁原因列表
export const userBanReasonList = (params) => req.post('user/banReasonList', params);

//用户详情
export const userUserDetail = (params) => req.post('/user/userDetail', params);

//电量流水
export const userElectricityLog = (params) => req.post('/user/electricityLog', params);

//用户画像总览
export const userPortrait = (params) => req.post('/user/portrait', params);

//用户画像图表
export const portraitChart = (params) => req.post('/user/portraitChart', params);

//注销用户
export const logoutUser = (params) => req.post('/user/logoutUser', params);

